package com.mvc.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName CommodityGrade
 * @Description TODO
 * @Author king
 * @Date 2021/12/2 19:14
 * @Version 1.0
 **/
@Data
public class CommodityGrade {
    private Integer id;
    private Integer shop_id;
    private String comment;
    private String grade;
    private String uname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date grade_day;
    private String anonymous;
}
